<?php
/**
 * FileName: BaseSystemController.php
 * Author: Fei.Song
 * Date: 2021/5/12 18:28
 * Created by PhpStorm
 * Desc:
 */

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class BaseSystemController extends Controller {
    use TraitController;

    public function __construct(Request $request) {
        $this->middleware(function ($request, $next) {
            $this->guard_name = "system";
            $this->request = $request;
            $this->_init();

            return $next($request);
        });

    }

}